﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.ModelConfiguration;

using SMG.Domain.Model.System;


namespace Infrastructure.Repository.EntityFramework.System
{
    public class UserTypeConfiguration : EntityTypeConfiguration<User>
    {
        public UserTypeConfiguration() {
            HasKey<long>(u => u.ID);
            Property(u => u.ID)
                .IsRequired();
        }
    }
}
